fractions in equations with variables